What is @babel/plugin-transform-member-expression-literals?
The @babel/plugin-transform-member-expression-literals package is a Babel plugin that transforms member expressions with literal properties into a form that can be more efficiently minimized. This means that it will convert object properties accessed with a literal (e.g., obj['property']) into dot notation (e.g., obj.property), which can be shorter and more optimized in the context of JavaScript code minification.
Transform member expressions with literal properties to dot notation
This feature automatically converts member expressions that use literal strings for accessing properties into dot notation. This is particularly useful for code minification and optimization.
obj['property'] // Before transformation
obj.property // After transformation